/*jshint esversion: 9 */
// process.env.NODE_ENV = 'production'
// const isProduction = process.env.NODE_ENV == 'production';  //是否是生产环境
module.exports = {
    // 选项...
    publicPath:'/',
    outputDir:'dist',
    assetsDir:'assets',
    devServer: {
        host: '0.0.0.0',
        port: 8080,
        proxy: {
            '/api': {
                target: `/api`,
                changeOrigin: true,
                pathRewrite: {
                    ['^/api']: '',
                }
            }
        },
    },
};